package com.carleasoft.mps.cms.business.article.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 附件详情entity
 * @author yanghao
 * @date 2021-12-14 09:31
 * @project mps
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "c_article_accessory")
public class ArticleAccessoryEntity extends Model<ArticleAccessoryEntity> {

    /**
     * 文章编码
     */
    @TableId(type = IdType.INPUT)
    private String articleCode;

    /**
     *文件名
     */
    @TableField(value = "FILE_NAME")
    private String fileName;

    /**
     * 文件后缀名
     */
    @TableField(value = "FILE_SUFFIX")
    private String fileSuffix;

    /**
     * 文件存储地址
     */
    @TableField(value = "FILE_STORAGE")
    private String fileStorage;

    /**
     * 文件类型
     */
    @TableField(value = "FILE_TYPE")
    private Integer fileType;

    /**
     * 文件大小
     */
    @TableField(value = "FILE_SIZE")
    private String fileSize;

    /**
     * 文件存储地址
     */
    @TableField("FILE_PATH")
    private String filePath;
}
